package com.aaa.service.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ${崔灿}
 * @date 2022/11/13 20:31
 **/
@RestController
@RequestMapping("/aop")
public class HelloController {
    @GetMapping("getTest")
    public String getTest(){
        System.out.println("==================getTest=========================");
        return "getTest";
    }

    @PostMapping("postTest")
    public String postTest(){
        System.out.println("==================postTest=========================");
        return "getTest";
    }
}

